Update override documentation
authorSteve Klabnik <steve@steveklabnik.com>
Mon, 27 Jul 2015 18:45:44 +0000 (14:45 -0400)
committerSteve Klabnik <steve@steveklabnik.com>
Mon, 27 Jul 2015 18:45:44 +0000 (14:45 -0400)
* use crates.io example
* mention absolute paths

Fixes #1279

src/doc/guide.md

index fca01ac726d971a668047ff8cb5e0457695f1066..393e9998d2f6dd40942cdb4c21777a504e3b56f1 100644 (file)
@@ -328,8 +328,8 @@ name = "conduit-static"
 version = "0.1.0"
 authors = ["Yehuda Katz <wycats@example.com>"]
 
-[dependencies.conduit]
-git = "https://github.com/conduit-rust/conduit.git"
+[dependencies]
+conduit = "0.7"
 ```
 
 You check out a local copy of `conduit`, let's say in your `~/src` directory:
@@ -373,10 +373,10 @@ paths = ["/path/to/project/conduit"]
 
 This array should be filled with directories that contain a `Cargo.toml`. In
 this instance, we're just adding `conduit`, so it will be the only one that's
-overridden.
+overridden. This path must be an absolute path.
 
 Note: using a local configuration to override paths will only work for crates
-that have been published to crates.io.  You cannot use this feature to tell Cargo
+that have been published to crates.io. You cannot use this feature to tell Cargo
 how to find local unpublished crates.
 
 More information about local configuration can be found in the [configuration